package domain;

import java.sql.Timestamp;

public class ForumTopic {
	long tid;
	long cid;
	String title;
	long uid;
	Timestamp date;
	int flag;
	public ForumTopic(long tid, long cid, String title, long uid, Timestamp date, int flag) {
		super();
		this.tid = tid;
		this.cid = cid;
		this.title = title;
		this.uid = uid;
		this.date = date;
		this.flag = flag;
	}
	
	public long getTid() {
		return tid;
	}
	public void setTid(long tid) {
		this.tid = tid;
	}
	public long getCid() {
		return cid;
	}
	public void setCid(long cid) {
		this.cid = cid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

	public long getUid() {
		return uid;
	}
	public void setUid(long uid) {
		this.uid = uid;
	}
	public Timestamp getDate() {
		return date;
	}
	public void setDate(Timestamp date) {
		this.date = date;
	}
	public int getFlag() {
		return flag;
	}
	public void setFlag(int flag) {
		this.flag = flag;
	}


	
}
